import {request} from "./request";
//获取分类的数据
export function getKind() {
    return request({
        url:'/goods',
    })
}
//获取每个分类的数据
export function getSubkind(maitKey) {
    return request({
        url: '/subcategory',
        params: {
            maitKey
        }
    })
}

 // 获取每个分类里面的商品信息
export function getkindDetail(miniWallkey, type) {
    return request({
        url: '/subcategory/detail',
        params: {
            miniWallkey,
            type
        }
    })
}